<%@ page language="java" import="gt.service.*,java.util.*,gt.domain.*" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>修改管理员级别</title>
</head>
<body>
<%
		String id=(String)request.getParameter("id");
        UserService userService = new UserService();
        User user=(User)userService.getUserById(id);
        request.setAttribute("user", user);
        
%>
<img alt="" src="/ClientManager/images/42.png">
<hr>
<form action="/ClientManager/alterGrade" method="post" target="right">
	<table  width="300px" border="1" cellspacing="0">
	<tr height="20px"><td align="center" valign="bottom" bgcolor="#FFCC33" width="150px"><font size="3">管理员ID:</font></td><td valign="bottom" width="100px">${user.id}<input type="hidden" name="id" value="${user.id}"/></td></tr>
	<tr height="20px"><td align="center" valign="bottom" bgcolor="#FFCC33" width="150px"><font size="3">管理员名称:</font></td><td valign="bottom" width="100px">${user.name}</td></tr>
	<tr height="20px"><td align="center" valign="bottom" bgcolor="#FFCC33" width="150px"><font size="3">设置管理员级别:</font></td><td valign="bottom" width="100px"><select name="grade"><option value="">-----请选择级别-----</option><option value="1">1</option><option value="2">2</option></select></td></tr>
	<tr><td></td><td valign="top" colspan="3"><input style="font-size: 15px" type="submit" value="提交">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input style="font-size: 15px" type="reset" value="重置"></td></tr>
	

 </table>
</form>
</body>
</html>